package com.ruoyi.cat.service;


import com.huifu.bspay.sdk.opps.core.config.MerConfig;
import com.ruoyi.cat.domain.VO.ConfirmRefundVO;
import com.ruoyi.cat.domain.VO.OrderPaymentVO;
import com.ruoyi.common.core.domain.AjaxResult;

import java.math.BigDecimal;

public interface OrderPaymentService {

    public  void doInit(MerConfig merConfig) throws Exception;


    public AjaxResult orderPayment(OrderPaymentVO orderPaymentVO);

    public AjaxResult wxOrderPayment(OrderPaymentVO orderPaymentVO);


    AjaxResult confirmRefundOracle(ConfirmRefundVO confirmRefundVO);

    public AjaxResult refund(String outRefundNo, String transactionId,
                             BigDecimal totalFee, BigDecimal refundFee);
}
